using System.Web.Mvc;
using FluentValidation.Attributes;
using BL.Admin.Validators.Shipping;
using BL.Web.Framework;
using BL.Web.Framework.Mvc;

namespace BL.Admin.Models.Shipping
{
    [Validator(typeof(ShippingMethodValidator))]
    public class ShippingMethodModel : BaseBLEntityModel
    {
        [BLResourceDisplayName("Admin.Configuration.Shipping.Methods.Fields.Name")]
        [AllowHtml]
        public string Name { get; set; }

        [BLResourceDisplayName("Admin.Configuration.Shipping.Methods.Fields.Description")]
        [AllowHtml]
        public string Description { get; set; }

        [BLResourceDisplayName("Admin.Configuration.Shipping.Methods.Fields.DisplayOrder")]
        public int DisplayOrder { get; set; }
    }
}